package com.jinmdz.fmis.api.api.model.mourn;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import com.jinmdz.fmis.dao.model.dictionary.DataDictionaryItem;
import com.jinmdz.fmis.dao.model.dictionary.ServiceDictionaryRuleItem;
import com.jinmdz.fmis.dao.model.service.ServiceItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * 全部加载数据
 *
 * @author LiCongLu
 * @date 2020-02-16 11:44
 */
@ApiModel(value = "礼厅信息全部加载数据", description = "礼厅信息全部加载数据")
public class MournCeremonyAllLoadData extends BaseBean {
    /**
     * 礼厅信息
     */
    @AnValidate(name = "礼厅信息")
    @ApiModelProperty(value = "礼厅信息", name = "mournCeremony", position = 1)
    private MournCeremonyData mournCeremony;

    /**
     * 字典数据
     */
    @AnValidate(name = "字典数据")
    @ApiModelProperty(value = "字典数据", name = "dicts", position = 2)
    private HashMap<String, ArrayList<DataDictionaryItem>> dicts;

    /**
     * 物品服务
     */
    @AnValidate(name = "物品服务")
    @ApiModelProperty(value = "物品服务", name = "serviceItems", position = 3)
    private HashMap<String, ArrayList<ServiceItem>> serviceItems;

    /**
     * 业务服务字典规则
     */
    @AnValidate(name = "业务服务字典规则")
    @ApiModelProperty(value = "业务服务字典规则", name = "ruleItems", position = 5)
    private ArrayList<ServiceDictionaryRuleItem> ruleItems;

    public MournCeremonyData getMournCeremony() {
        return mournCeremony;
    }

    public MournCeremonyAllLoadData setMournCeremony(MournCeremonyData mournCeremony) {
        this.mournCeremony = mournCeremony;
        return this;
    }

    public HashMap<String, ArrayList<DataDictionaryItem>> getDicts() {
        return dicts;
    }

    public MournCeremonyAllLoadData setDicts(HashMap<String, ArrayList<DataDictionaryItem>> dicts) {
        this.dicts = dicts;
        return this;
    }

    public HashMap<String, ArrayList<ServiceItem>> getServiceItems() {
        return serviceItems;
    }

    public MournCeremonyAllLoadData setServiceItems(HashMap<String, ArrayList<ServiceItem>> serviceItems) {
        this.serviceItems = serviceItems;
        return this;
    }

    public ArrayList<ServiceDictionaryRuleItem> getRuleItems() {
        return ruleItems;
    }

    public MournCeremonyAllLoadData setRuleItems(ArrayList<ServiceDictionaryRuleItem> ruleItems) {
        this.ruleItems = ruleItems;
        return this;
    }
}
